3.141 \(\int (a+b x)^m (c+d x)^n (e+f x)^p \, dx\)

Optimal. Leaf size=123 \[ \frac{(a+b x)^{m+1} (c+d x)^n (e+f x)^p \left (\frac{b (c+d x)}{b c-a d}\right )^{-n} \left (\frac{b (e+f x)}{b e-a f}\right )^{-p} F_1\left (m+1;-n,-p;m+2;-\frac{d (a+b x)}{b c-a d},-\frac{f (a+b x)}{b e-a f}\right )}{b (m+1)} \]

[Out]

((a + b*x)^(1 + m)*(c + d*x)^n*(e + f*x)^p*AppellF1[1 + m, -n, -p, 2 + m, -((d*(
a + b*x))/(b*c - a*d)), -((f*(a + b*x))/(b*e - a*f))])/(b*(1 + m)*((b*(c + d*x))
/(b*c - a*d))^n*((b*(e + f*x))/(b*e - a*f))^p)

_______________________________________________________________________________________

Rubi [A]  time = 0.266593, antiderivative size = 123, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136 \[ \frac{(a+b x)^{m+1} (c+d x)^n (e+f x)^p \left (\frac{b (c+d x)}{b c-a d}\right )^{-n} \left (\frac{b (e+f x)}{b e-a f}\right )^{-p} F_1\left (m+1;-n,-p;m+2;-\frac{d (a+b x)}{b c-a d},-\frac{f (a+b x)}{b e-a f}\right )}{b (m+1)} \]

Antiderivative was successfully verified.

[In]  Int[(a + b*x)^m*(c + d*x)^n*(e + f*x)^p,x]

[Out]

((a + b*x)^(1 + m)*(c + d*x)^n*(e + f*x)^p*AppellF1[1 + m, -n, -p, 2 + m, -((d*(
a + b*x))/(b*c - a*d)), -((f*(a + b*x))/(b*e - a*f))])/(b*(1 + m)*((b*(c + d*x))
/(b*c - a*d))^n*((b*(e + f*x))/(b*e - a*f))^p)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 79.0219, size = 94, normalized size = 0.76 \[ \frac{\left (\frac{b \left (- c - d x\right )}{a d - b c}\right )^{- n} \left (\frac{b \left (- e - f x\right )}{a f - b e}\right )^{- p} \left (a + b x\right )^{m + 1} \left (c + d x\right )^{n} \left (e + f x\right )^{p} \operatorname{appellf_{1}}{\left (m + 1,- n,- p,m + 2,\frac{d \left (a + b x\right )}{a d - b c},\frac{f \left (a + b x\right )}{a f - b e} \right )}}{b \left (m + 1\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((b*x+a)**m*(d*x+c)**n*(f*x+e)**p,x)

[Out]

(b*(-c - d*x)/(a*d - b*c))**(-n)*(b*(-e - f*x)/(a*f - b*e))**(-p)*(a + b*x)**(m
+ 1)*(c + d*x)**n*(e + f*x)**p*appellf1(m + 1, -n, -p, m + 2, d*(a + b*x)/(a*d -
 b*c), f*(a + b*x)/(a*f - b*e))/(b*(m + 1))

_______________________________________________________________________________________

Mathematica [B]  time = 0.230309, size = 296, normalized size = 2.41 \[ \frac{(m+2) (b c-a d) (b e-a f) (a+b x)^{m+1} (c+d x)^n (e+f x)^p F_1\left (m+1;-n,-p;m+2;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )}{b (m+1) \left ((m+2) (b c-a d) (b e-a f) F_1\left (m+1;-n,-p;m+2;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )-(a+b x) \left (d n (a f-b e) F_1\left (m+2;1-n,-p;m+3;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )+f p (a d-b c) F_1\left (m+2;-n,1-p;m+3;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )\right )\right )} \]

Warning: Unable to verify antiderivative.

[In]  Integrate[(a + b*x)^m*(c + d*x)^n*(e + f*x)^p,x]

[Out]

((b*c - a*d)*(b*e - a*f)*(2 + m)*(a + b*x)^(1 + m)*(c + d*x)^n*(e + f*x)^p*Appel
lF1[1 + m, -n, -p, 2 + m, (d*(a + b*x))/(-(b*c) + a*d), (f*(a + b*x))/(-(b*e) +
a*f)])/(b*(1 + m)*((b*c - a*d)*(b*e - a*f)*(2 + m)*AppellF1[1 + m, -n, -p, 2 + m
, (d*(a + b*x))/(-(b*c) + a*d), (f*(a + b*x))/(-(b*e) + a*f)] - (a + b*x)*(d*(-(
b*e) + a*f)*n*AppellF1[2 + m, 1 - n, -p, 3 + m, (d*(a + b*x))/(-(b*c) + a*d), (f
*(a + b*x))/(-(b*e) + a*f)] + (-(b*c) + a*d)*f*p*AppellF1[2 + m, -n, 1 - p, 3 +
m, (d*(a + b*x))/(-(b*c) + a*d), (f*(a + b*x))/(-(b*e) + a*f)])))

_______________________________________________________________________________________

Maple [F]  time = 0.21, size = 0, normalized size = 0. \[ \int \left ( bx+a \right ) ^{m} \left ( dx+c \right ) ^{n} \left ( fx+e \right ) ^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((b*x+a)^m*(d*x+c)^n*(f*x+e)^p,x)

[Out]

int((b*x+a)^m*(d*x+c)^n*(f*x+e)^p,x)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}{\left (f x + e\right )}^{p}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^m*(d*x + c)^n*(f*x + e)^p,x, algorithm="maxima")

[Out]

integrate((b*x + a)^m*(d*x + c)^n*(f*x + e)^p, x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}{\left (f x + e\right )}^{p}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^m*(d*x + c)^n*(f*x + e)^p,x, algorithm="fricas")

[Out]

integral((b*x + a)^m*(d*x + c)^n*(f*x + e)^p, x)

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x+a)**m*(d*x+c)**n*(f*x+e)**p,x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}{\left (f x + e\right )}^{p}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^m*(d*x + c)^n*(f*x + e)^p,x, algorithm="giac")

[Out]

integrate((b*x + a)^m*(d*x + c)^n*(f*x + e)^p, x)